package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.LandmarkDetai;
import cn.wolfcode.trip.base.domain.LtCatalogDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LandmarkDetaiMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LandmarkDetai record);

    LandmarkDetai selectByPrimaryKey(Long id);

    List<LandmarkDetai> selectAll();

    int updateByPrimaryKey(LandmarkDetai record);

    List<LandmarkDetai> selectLmDetailByState(long state);

    List<LandmarkDetai> selectDetailsByIcdId(@Param("icdId") int icdId, @Param("discount") long discount);

    List<LandmarkDetai> selectDetailByicdId(Long icdId);
}